<template>
    <div class="swipe">
        <mt-swipe :auto="4000" :show-indicators="false">
            <mt-swipe-item class="slide1" v-for="itme in swipeList" :key="itme.id">
                <img :class="{'full':isFull}" :src="itme.img" alt="">
            </mt-swipe-item>

        </mt-swipe>
    </div>
</template>

<script>

    export default {
        name: "swiper",
        props:['swipeList','isFull'],
    }
</script>

<style scoped lang="scss">
    .swipe {
        height: 160px;
        line-height: 200px;
        text-align: center;
        img{
            height: 160px;
        }
        .full{
            width: 100%;
        }
    }

</style>
